package sample;

/**
 * 这个是工厂类
 * @author 冯啸迪
 */
public class ABeanFactory {

	/**
	 * 静态工厂
	 * @return 目标Bean
	 */
	public static ABean getABean() {
		return new ABean();
	}

	/**
	 * 实例工厂
	 * @return 目标Bean
	 */
	public ABean getABean2() {
		return new ABean();
	}
}
